package com.liujit.upms.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 系统用户
 * @Author liujun
 * @Date 2021-07-02 15:01:25
 */
@Data
@ApiModel(value = "SysUser", description = "系统用户")
@TableName(value = "sys_user")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysUser extends BaseModel {

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String pwd;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "性别：0、未知。1、男。2、女。")
    private Short gender;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "机构id")
    private Long orgId;

    @ApiModelProperty(value = "机构编号")
    private String orgCode;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;
}